package com.newedu.equipmgr.entity;

import java.util.Date;

/**
 * @author jerry
 * @create 2020-06-10 15:40:17
 * @company 新开普电子股份有限公司
 */
public class SysPermission {
    private int id;
    private String permissionname;
    private String permissiontype;
    private String menuno;
    private String url;
    private int parent_id;
    private int sort;
    private int createuserid;
    private Date createtime;
    private int updateuserid;
    private Date updatetime;
    private int del;
    public SysPermission() {
    }

    public SysPermission(int id, String permissionname, String permissiontype, String menuno, String url, int parent_id, int sort) {
        this.id = id;
        this.permissionname = permissionname;
        this.permissiontype = permissiontype;
        this.menuno = menuno;
        this.url = url;
        this.parent_id = parent_id;
        this.sort = sort;
    }
    public SysPermission(String permissionname, String permissiontype, String menuno, String url, int parent_id, int sort) {
        this.permissionname = permissionname;
        this.permissiontype = permissiontype;
        this.menuno = menuno;
        this.url = url;
        this.parent_id = parent_id;
        this.sort = sort;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getPermissionname() {
        return permissionname;
    }

    public void setPermissionname(String permissionname) {
        this.permissionname = permissionname;
    }

    public String getPermissiontype() {
        return permissiontype;
    }

    public void setPermissiontype(String permissiontype) {
        this.permissiontype = permissiontype;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public int getParent_id() {
        return parent_id;
    }

    public void setParent_id(int parent_id) {
        this.parent_id = parent_id;
    }

    public int getSort() {
        return sort;
    }

    public void setSort(int sort) {
        this.sort = sort;
    }

    public int getCreateuserid() {
        return createuserid;
    }

    public void setCreateuserid(int createuserid) {
        this.createuserid = createuserid;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public int getUpdateuserid() {
        return updateuserid;
    }

    public void setUpdateuserid(int updateuserid) {
        this.updateuserid = updateuserid;
    }

    public Date getUpdatetime() {
        return updatetime;
    }

    public void setUpdatetime(Date updatetime) {
        this.updatetime = updatetime;
    }

    public int getDel() {
        return del;
    }

    public void setDel(int del) {
        this.del = del;
    }

    public String getMenuno() {
        return menuno;
    }

    public void setMenuno(String menuno) {
        this.menuno = menuno;
    }

    @Override
    public String toString() {
        return "SysPermission{" +
                "id=" + id +
                ", permissionname='" + permissionname + '\'' +
                ", permissiontype='" + permissiontype + '\'' +
                ", menuno='" + menuno + '\'' +
                ", url='" + url + '\'' +
                ", parent_id=" + parent_id +
                ", sort=" + sort +
                ", createuserid=" + createuserid +
                ", createtime=" + createtime +
                ", updateuserid=" + updateuserid +
                ", updatetime=" + updatetime +
                ", del=" + del +
                '}';
    }
}
